package com.springframework.util;

import com.springframework.util.bean.Workshop;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class UtilRun {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("com.springframework/util/bean.xml");
        Workshop workshop = context.getBean("workshop", Workshop.class);
        System.out.println(workshop.toString());
    }
}
